﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class MdmPatientAllergy
    {
        public long SerialNo { get; set; }
        /// <summary>
        /// 皮试表主键id
        /// </summary>
        public long? SkinTestSerialNo { get; set; }
        /// <summary>
        /// 患者id
        /// </summary>
        public int? PatId { get; set; }
        /// <summary>
        /// 过敏源Id
        /// </summary>
        public string? AllergySource { get; set; }
        /// <summary>
        /// 皮试结果状态，DRJCM042，0阴性，1阳性
        /// </summary>
        public string? SkinTestResult { get; set; }
        /// <summary>
        /// 剂量
        /// </summary>
        public decimal? Dose { get; set; }
        /// <summary>
        /// 皮试剂id
        /// </summary>
        public int? DrugId { get; set; }
        /// <summary>
        /// 皮试药品id
        /// </summary>
        public int? BaseDrugId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 来源（门诊、住院、病区）
        /// </summary>
        public string? Source { get; set; }
        /// <summary>
        /// 过敏物
        /// </summary>
        public string? AllergyClass { get; set; }
        /// <summary>
        /// 过敏类型(
        /// DRJCM090---
        /// 1
        /// 药品过敏
        /// 
        /// 2
        /// 食物过敏
        /// 
        /// 3
        /// 其他过敏
        /// )
        /// </summary>
        public string? AllergyType { get; set; }
        /// <summary>
        /// 登记时间
        /// </summary>
        public DateTime? RegisterDate { get; set; }
        /// <summary>
        /// 是否删除（0否1是）状态
        /// </summary>
        public int? IsDelete { get; set; }
        public int? CreateUserId { get; set; }
        public DateTime? CreateOn { get; set; }
        public int? UpdateUserId { get; set; }
        public DateTime? UpdateOn { get; set; }
        public int? HospitalId { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string? BatchNo { get; set; }
        /// <summary>
        /// 过敏症状
        /// </summary>
        public string? AllergySymptoms { get; set; }
        /// <summary>
        /// 失效状态(0失效1有效)
        /// </summary>
        public string? AllergyStatus { get; set; }
    }
}
